<div class="header">
    <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-home"></i>首页</a></li>
        <li><a href="#">客户经理管理</a></li>
        <li class="active" id="banner">客户经理管理</li>
    </ol>
</div>
<div class="row">
    <div id="getId" class="col-lg-2 col-xs-2 col-md-2" style="height: 800px;   ">
        <div class="tabT">
            <!--<span style="height: 30px;line-height: 30px;padding-left: 10px ">客户经理管理</span>-->
            <ul class="tab">
                <li id="tabId1" class="current" onclick="tab('tabId1','Page/customermanage/customer/customer.html','客户经理管理');">&nbsp;<i
                        class="fa fa-user"></i>&nbsp;&nbsp;客户经理管理
                </li>
                <li id="tabId2" onclick="tab('tabId2','Page/customermanage/trajectory/trajectory.html','运行轨迹');">&nbsp;<i class="fa fa-user"></i>&nbsp;&nbsp;运行轨迹
                </li>
            </ul>
        </div>

    </div>
    <div class="col-lg-10 col-xs-10 col-md-10">
        <div class="show" id="tabC">客户经理管理
        </div>
        <!--<div class="hidden" id="tabC2">运行轨迹-->
        <!--</div>-->
    </div>
</div>
<script type="text/javascript" language="javascript">
    $(function () {
        GLOBAL.MODULEURL = 'Page/customermanage/customer/index.html';
        $("#tabC").load("Page/customermanage/customer/customer.html");
    });
    // $("#tabC1").load("Page/customermanage/customer/customer.html");

    function tab(tabId, url, info) {
        $("#banner").html(info);
        var len = document.getElementById('getId').getElementsByTagName('li').length;
        for (i = 1; i <= len; i++) {
            if ("tabId" + i == tabId) {
                document.getElementById(tabId).className = "current";
                $("#tabC").load(url);
            } else {
                document.getElementById("tabId" + i).className = "";
            }
            // if ("tabC" + i == tabC) {
            //     document.getElementById(tabC).className = "show";
            // } else {
            //     document.getElementById("tabC" + i).className = "hidden";
            // }
        }
    }
</script>